package com.qf.base.mapper;

import com.qf.base.domain.BaseDriver;

import java.util.List;

public interface BaseDriverMapper {

    List<BaseDriver> selectDriverList(BaseDriver driver);

    int insertDriver(BaseDriver driver);

    int updateDriver(BaseDriver driver);

    BaseDriver selectDriverById(Long driverId);

    int deleteDriverByIds(Long[] ids);

    List<Long> selectCarrierIdsByDriverIds(Long[] driverIds);

    int countByCarrierId(Long carrierId);

    List<BaseDriver> selectDriversByCarrierId(Long carrierId);
}
